#include <stdio.h>

int main(){
    int table[] = {12,88,7,46,91,3,23,50};
    int n = sizeof(table)/sizeof(table[0]);
    int target = 7;
    for(int i=0;i<n;i++){
        if(target==table[i]){
            printf("The index position of element %d in the table is: %d",target,i);
            break;
        }
    }

    return 0;
}